
<!-- DataTables -->
<link rel="stylesheet"
	href="./app/lib/datatables/media/css/dataTables.bootstrap.css">
<div ng-controller="goodsment as showCase">
<section class="content-header">
	<h1>{{title}}</h1>

</section>
<section class="content"  >
	<div class="row">
		<div class="col-md-12">
		<alertdanger></alertdanger>
		<alertsuccess></alertsuccess>
		</div>
	</div>
	<div class="row">
		<div class="col-xs-12">
			<div class=box>
				<div class="box-body">

					<list> <a ui-sref="goodsment" class="btn btn-app"> <i class="fa fa-list"></i>
						查看
					</a></list>
					<!--<div ng-repeat="p in permissions">-->
						<!--<a ng-show="p.actionurl=='goodstype'&&p.permission=='user:save'" class="btn btn-app" ng-click="save();"> <i class="fa fa-save"></i>添加</a>-->
						<!--<a ng-show="p.actionurl=='goodstype'&&p.permission=='user:del'" class="btn btn-app" ng-click="del();"> <i class="fa fa-trash"></i>删除</a>-->
					<!--</div>-->


						<a  class="btn btn-app" ng-click="save();"> <i class="fa fa-save"></i>添加</a>
						<a  class="btn btn-app" ng-click="del();"> <i class="fa fa-trash"></i>删除</a>


				</div>
			</div>
		</div>
		<div class="col-xs-12">
			<div class=box>
				<div class="box-body">

					<form role="form">
						<div class="box-body">
							<div class="form-group">
								<label>商品名称</label>
								<input maxlength="20" required="required"
									   ng-model="goodsname" class="form-control" type="text"
									   placeholder="请输入商品名称" value="" />
							</div>
							<div class="form-group">
								<button ng-click="searchdataTableCustom();" class="btn btn-block btn-success btn-sm">检索</button>
							</div>
						</div>

					</form>

				</div>
			</div>

		</div>
		<div class="col-xs-12">

			<div class="box">
				<div class="box-header"></div>
				<div class="box-body" >
					<table datatable="" dt-options="showCase.dtOptions"
						dt-columns="showCase.dtColumns"
						dt-instance="showCase.dtInstance"
						class="table table-striped table-bordered"></table>
				</div>
			</div>
		</div>
	</div>
</section>
</div>